/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.webhomesites.padrao.contracts;

import java.awt.event.ActionListener;

/**
 *
 * @author Webhome
 */
public interface IGrupoProdutoView {
    
    public void setCodigo(long codigo);  
    public long getCodigo();  
    
    public void setDescricao(String descricao);  
    public String getDescricao();
                   
    public void packAndShow();  
    public void clearFields(); 
    
    public void enableTxtGrupoCodigo(boolean arg);  
    public void enableTxtGrupoDescricao(boolean arg);
          
    public void enableBtnAlterar(boolean arg);
    public void enableBtnRemover(boolean arg);
    public void enableBtnCancelar(boolean arg);
    public void enableBtnSalvar(boolean arg);
    public void enableBtnInserir(boolean arg);
    public void enableBtnPesquisar(boolean arg);
    
    public void setInserirActionListener(ActionListener listener);  
    public void setRemoverActionListener(ActionListener listener);  
    public void setAlterarActionListener(ActionListener listener);     
    public void setCancelarActionListener(ActionListener listener);  
    public void setSalvarActionListener(ActionListener listener);  
    public void setBtnSairActionListener(ActionListener listener);
    public void setBuscaAvancadaActionlistener(ActionListener listener);
           
}
